package com.xk857.modules.entities.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author cv大魔王
 * @version 1.0
 * @date 2021/9/5 10:56
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="新生填报对象", description="新生填报对象")
public class StudentReq {

    @NotBlank(message = "姓名不能为空")
    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @NotNull(message = "生日不能为空")
    @ApiModelProperty(value = "生日")
    private Date birthday;

    @NotNull(message = "性别不能为空")
    @ApiModelProperty(value = "性别 true男 false女")
    private Boolean gender;

    @NotBlank(message = "班级不能为空")
    @ApiModelProperty(value = "班级")
    private String classes;

    @ApiModelProperty(value = "电话号码")
    private String phone;

    @ApiModelProperty(value = "QQ号码")
    private String qq;

    @NotNull(message = "请选择您之前来自普高还是中职")
    @ApiModelProperty(value = "0中职 1普高 2其他")
    private Integer education;

    @ApiModelProperty(value = "原学校")
    private String oldSchool;

    @NotBlank(message = "请输入您的籍贯")
    @ApiModelProperty(value = "籍贯")
    private String hometown;

    @ApiModelProperty(value = "未来三年的规划")
    private String plan;

    @NotNull(message = "我们需要了解您的编程基础")
    @ApiModelProperty(value = "0没有接触过 1接触过 2精通最少一门语言")
    private Integer programming;

    @ApiModelProperty(value = "备注信息")
    private String remarks;
}
